Turn

Syntax samples

TURN {<expression>}

Description

Selects the locations listed in a block of routings in rotation by availability. If none of the locations listed are available, the first one that becomes available is selected. A particular location may be listed more than once in a routing block if it is to have a greater proportion of turns than the others.

Valid In

The rule field of the Routing edit table only.

Components

<expression>

The total entities output from the process. This expression is valid only for the first routing of a routing block. For more information on this expression, see Processing.

Example

In this example, Purchase Requests (PR’s) are entered into an on-line accounting system at location Keypunch. They are then assigned on a rotating basis to Buyer1, Buyer2, or Buyer3.

Process Table

Entity

Location

Operation (min)

PO

Keypunch

WAIT U(3,1) min

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

PR

Buyer1

TURN 1

 

PR

Buyer2

TURN

 

PR

Buyer3

TURN

 

See Also

Processing.